package com.jcourse.bookstore;

import java.util.Scanner;

public class BranchCourse {

	public static void main(String[] args) {
		
		Scanner aa=new Scanner(System.in);
		System.out.println("请输入身高；");
		int height = aa.nextInt();
		
		System.out.println("请输入体重；");
		int weight=aa.nextInt();
		String message=judge(weight, weight);
		System.out.println("你的体重情况是："+message);

	}

	static public void ifUse() {
		Scanner sc = new Scanner(System.in);
		System.out.println("英语输入成绩；");
		int score_english = sc.nextInt();
		System.out.println("java输入成绩；");
		int score_java = sc.nextInt();
		if ((score_english > 90 && score_java > 80) || (score_english == 100 && score_java > 70)) {

		}

	}

	static public String judge(int height, int weight) {
		
		double a=1.0*weight/(height-105);
		if (a>1.1) {
			return "偏胖，注意饮食";
		}else if (a<0.9) {
			return "偏瘦，注意营养";
		}else {
			return "正常，继续保持";
			
		}
		

	}
	static public void switchcase() {
		int mingci=1;
		switch(mingci) {
		      case 1:
		    	  System.out.println("获得1w");
		    	  break;
		      case 2:
		    	  System.out.println("获得0.1w");
		    	  break;
		     default:
		    	 System.out.println("wu");
		    	  
		}
	}
}